<?php $mood_options[]='Humör';
foreach ($moods as $m) {
	$mood_options[$m->moodID]=$m->moodName;
}
$category_options[]='Kategorier';
foreach ($categories as $c) {
	$category_options[$c->categoryID]=$c->categoryName;
} ?>

	<p id="klottra">Klottra</p>
	<?php 
	
 	echo form_open_multipart('site/send_image_form'); 
	$data = array(
		'name'        => 'headline',
		'placeholder' => 'Rubrik'
	);
	echo form_input($data);
	
	$data = array(
		'name'        => 'author',
		'placeholder' => 'Signatur'
	);
	echo form_input($data);
	echo form_dropdown('mood', $mood_options, 0);
	echo form_dropdown('category', $category_options, 0) ;
	echo form_upload('userfile');
	echo form_submit('submit',  'Klottra');
	
	echo form_close();
	?>